package com.lxw.manager.cms.dao;

import com.lxw.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CmsPageRepository extends MongoRepository<CmsPage,String> {

    CmsPage findByPageAliaseAndPageType(String pageAliase,String pageType);

    //查询方法根据pageName、pageWebPath、siteId进行模糊查询
    CmsPage findByPageNameAndPageWebPathAndSiteId(String pageName,String pageWebPath,String siteId);

}
